package com.javaxiaobang.controller;


import com.javaxiaobang.service.FeginService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class FeignController {

    @Autowired
    FeginService feginService;

    @GetMapping("")
    public Object index() {
        log.info("*******************************index");
        return feginService.index();
    }

    @GetMapping("/getDictList")
    public Object getDictList() {
        log.info("*******************************getDictList");
        return feginService.getDictList();
    }

    @GetMapping("/getDictMap")
    public Object getDictMap() {
        log.info("*******************************getDictMap");
        return feginService.getDictList();
    }

    @GetMapping("/javaxiaobang/getDictList")
    public Object getDictFeiginList() {
        log.info("*******************************getDictFeiginList");
        return feginService.getDictFeiginList();
    }

    @GetMapping("/javaxiaobang/getDictMap")
    public Object getDictFeiginMap() {
        log.info("*******************************getDictFeiginMap");
        return feginService.getDictFeiginList();
    }


}
